package yawning.mew.gui.listener;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import yawning.mew.gui.NewToonDialog;

public class MouseClickListener extends MouseAdapter {
	IMainWindowListener mainWindow;
	public MouseClickListener(IMainWindowListener listener)
	{
		mainWindow = listener;
	}
	@Override
	public void mouseReleased(MouseEvent arg0) {
		NewToonDialog ntd = new NewToonDialog(mainWindow);
		ntd.setVisible(true);
	}
}
